import {RefundAuditListParams,RefundAuditDetailsParams,RefundAuditParams,RefundAuditLastParams} from "../../types/requestTypes"
import request from "../request";
import {ResponseRET} from "../../types/responseTypes"
/**
 * 查询需审核退款列表
 * @param name
 */

export const RefundAuditList = (params:RefundAuditListParams):Promise<ResponseRET>=> request.post( '/restapi/STUA_mbreport_new/RDSQTK_LIST',params,true)

/**
 * 审核退款详情
 * @param name
 */

export const RefundAuditListDetail = (params:RefundAuditDetailsParams):Promise<ResponseRET>=> request.post( '/restapi/STUA_mbreport_new/RDSQTK_ID',params,true)

/**
 * 提交审核退款
 * @param name
 */

export const RefundAudit = (params:RefundAuditParams):Promise<ResponseRET>=> request.post( '/restapi/STUA_mbreport_new/SH_TK',params,true)

/**
 * 通过审核退款
 * @param name
 */

export const RefundAuditLast = (params:RefundAuditLastParams):Promise<any>=> request.post( '/STUA_wxpay/back_wxpayparams',params,true)